Adjust whitespace with horizontal and vertical spacing helpers
padding. The base unit of all our spacing metrics is 4.
- Most components already come with spacing included. These utility classes are for added convenience in laying out components.
- Classes prefixed in
slds-p-are used for adding padding. Classes prefixed by
slds-m-are used for adding margins.
- The directions available for the spacing classes are
- You can use the
verticalshortcut for both
aroundfor all sides.
- Use the
_xx-largescale to choose the size needed.
- Where vertical centering is required, check out our centered media object instead of applying extra